<h1><?php echo $this->escape($this->title); ?></h1>
 <div>
 <?php 
 echo "<p>login: ". $this->escape($this->login)."</p>";
 echo "<p>plec: ".$this->escape($this->plec)."</p>";
 echo "<p>email: ".$this->escape($this->email)."</p>";
 echo "<p>Typ uzytkownika: ".$this->escape($this->rola)."</p>";
 $front = Zend_Controller_Front::getInstance();  
 $request = $front->getRequest();  
 $baseUrl = $request->getBaseUrl();
 ?>
      <a href="<?php echo $this->url(array('controller'=>'zalogowani', 
             'action'=>'edytujkonto', 'iduser'=>$this->iduser));?>">Edit</a>
     
     <h3><div><a href="<?php echo $this->url(array('controller'=>'zalogowani', 
         'action'=>'listaulubionych', 'iduser'=>$this->iduser));?>">Lista Ulubionych</a></div></h3>
     
<!-- <button onclick="location.href='<?php //echo $baseUrl.'/zalogowani/edytujkonto/iduser/'.$this->escape($this->id)?>'">Edytuj dane</button>
 !-->
     
  </div>
